package com.chinasoft.class6.group5;

import com.chinasoft.main.TrueWord;

import java.util.ArrayList;
import java.util.List;
import java.util.Random;

public class LiangJianYe implements TrueWord {
    List<String> wordList = new ArrayList<>();

    public LiangJianYe() {
        wordList.add("喝奶茶");
        wordList.add("玩王者荣耀玩的");
        wordList.add("今天吃番茄炒西红柿");
    }

    @Override
    public String getWord() {
        Random random = new Random();
        int index = random.nextInt(wordList.size());
        return this.wordList.get(index);
    }

    @Override
    public String getName() {
        return "梁建烨";
    }
}
